IfSo\Services\LicenseService\LicenseService C

Total Complexity 101
Dependencies 2
Dependents 7
Total lines 532
Lines of code 392
Logical lines of code 235
Comment lines 99
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
edd_ifso_is_license_valid()
B
39 17 66
edd_api_get_error_message()
A
44 14 45
edd_ifso_activate_license()
A
44 11 40
edd_ifso_deactivate_license()
A
46 8 37
edd_api_deactivate_item()
S
56 7 19
try_to_activate_license()
S
56 6 19
check_license_request()
S
56 6 19
query_ifso_api()
S
52 5 25
edd_sl_ifso_plugin_updater()
S
57 4 16
is_item_id_invalid_or_mismatch()
S
69 4 6
edd_ifso_clear_license()
S
60 2 13
send_check_license_request()
S
60 2 13
init_plans()
S
55 1 24
edd_ifso_if_license_valid_from_license_data()
S
70 2 7
edd_ifso_is_license_inactive()
S
70 2 7
is_license_valid()
S
74 2 4
get_instance()
S
73 2 5
__construct()
S
70 1 6
handle_invalid_license()
S
66 1 9
activate_license()
S
79 1 3
deactivate_license_request()
S
79 1 3
edd_api_activate_item()
S
79 1 3
get_license()
S
80 1 3